package cn.com.miao.lynx.service.system.service.impl;

import cn.com.miao.lynx.common.base.repository.BaseRepository;
import cn.com.miao.lynx.service.system.entity.SysRole;
import cn.com.miao.lynx.service.system.repository.SysRoleRepository;
import cn.com.miao.lynx.service.system.service.SysRoleService;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * SysRoleServiceImpl
 *
 * @title: SysRoleServiceImpl
 * @description:
 * @author: dengmiao
 * @create: 2020-01-06 15:11
 **/
@Slf4j
@Data
@AllArgsConstructor
@Service
public class SysRoleServiceImpl implements SysRoleService {

    private final SysRoleRepository sysRoleRepository;

    @Override
    public BaseRepository<SysRole, Long> getRepository() {
        return this.getSysRoleRepository();
    }
}
